package in.iqing.view.activity;

import in.iqing.app.R;
import in.iqing.control.api.ApiHelper;
import in.iqing.control.api.callback.BookListCallback;

/**
 * Created by ZuoShu on 15/7/11.
 */
public class SearchBookListActivity extends BaseBookListActivity {
    String keyword;

    @Override
    protected void initializeVariable() {
        keyword = getIntent().getStringExtra("keyword");
        title.setText(R.string.label_search);
    }

    @Override
    protected void requestBookList(int pageSize, int pageNo, BookListCallback callback) {
        ApiHelper.getSingleton().getSearchResult(VOLLEY_TAG, keyword, pageSize, pageNo, callback);
    }
}
